package cn.tangwei.org.mapper;

import cn.tangwei.basic.mapper.BaseMapper;
import cn.tangwei.org.domain.Department;
import cn.tangwei.org.domain.Employee;
import cn.tangwei.org.query.EmployeeQuery;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {
    // 基本的CRUD 和分页和高级查询是继承BaseMapper过来的
    Employee loadByUser(String username);

    Employee loadByLoginInfoId(Long id);
}
